package com.kgc.cgapi.service;

import com.kgc.basic.util.ResponseMsg;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

public interface CGDDServiceApi {

    @RequestMapping("getCGDDPage")
    ResponseMsg getCGDDPage(@RequestBody Map<String, Object> param);

    @RequestMapping("addCGDD")
    ResponseMsg addCGDD(@RequestBody Map<String , Object> map);

    @RequestMapping("getCGDD")
    ResponseMsg getCGDD(@RequestParam(name = "code") String code);

    @RequestMapping("modiCGDD")
    ResponseMsg modiCGDD(@RequestBody Map<String , Object> map);

    @RequestMapping("passCGDD")
    ResponseMsg passCGDD(@RequestParam(name = "code") String code);

    @RequestMapping("getCGDDPageByProId")
    ResponseMsg getCGDDPageByProId(@RequestBody Map<String,Object> map);

    @RequestMapping("updateCGDDData")
    ResponseMsg updateCGDDData(@RequestBody Map<String,Object> map);

    @RequestMapping("getPrePayRefundAmount")
    ResponseMsg getPrePayRefundAmount(@RequestBody Map<String,Object> map);
}
